package com.adjaisd.scarecrow.service;

public interface RedisService {

    Long getExpire(String key);

    Boolean existKey(String key);

    Boolean isOverdue(String key);

    Boolean equalVal(String key, String token);

    void set(String key, String value, long expire);

    Boolean delete(String key);

    Boolean update(String key, long time);

    Object get(String key);

}